/*
 * @Author: 陈明烽
 * @FilePath: \evdata\src\Iframe\index.tsx
 * @Description: Iframe
 */
import * as React from 'react';
import { useState, useEffect, FC } from 'react';
import classnames from 'classnames';
import {} from 'antd';

interface IframeProps
  extends React.DetailedHTMLProps<
    React.IframeHTMLAttributes<HTMLIFrameElement>,
    HTMLIFrameElement
  > {}
const Iframe: FC<IframeProps> = props => {
  const { className, ...reset } = props;

  const classes = classnames('c-iframe-item', className);
  return (
    <div className="c-iframe">
      <iframe className={classes} {...reset}></iframe>
    </div>
  );
};
export default Iframe;
